<?xml version="1.0" encoding="UTF-8"?>
<dxl:DXLMessage xmlns:dxl="http://greenplum.com/dxl/2010/12/">
  <!--
SQL:

create table t1(a int, b int) Distributed by (a);

select a,count(distinct a), count(distinct b) from t1 group by a
union
select a,count(distinct a), count(distinct b) from t1 group by a
-->
  <dxl:Thread Id="0">
    <dxl:OptimizerConfig>
      <dxl:EnumeratorConfig Id="0" PlanSamples="0" CostThreshold="0"/>
      <dxl:StatisticsConfig DampingFactorFilter="0.750000" DampingFactorJoin="0.000000" DampingFactorGroupBy="0.750000" MaxStatsBuckets="100"/>
      <dxl:CTEConfig CTEInliningCutoff="0"/> 
      <dxl:WindowOids RowNumber="7000" Rank="7001"/>
      <dxl:CostModelConfig CostModelType="1" SegmentsForCosting="2">
        <dxl:CostParams>
          <dxl:CostParam Name="NLJFactor" Value="1.000000" LowerBound="0.500000" UpperBound="1.500000"/>
        </dxl:CostParams>
      </dxl:CostModelConfig>
      <dxl:TraceFlags Value="103027,101013,102120,103001,103014,103015,105000"/>
    </dxl:OptimizerConfig>
    <dxl:Metadata SystemIds="0.GPDB">
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.5" Name="xmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.4" Name="cmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:Type Mdid="0.16.1.0" Name="bool" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="1" PassByValue="true">
        <dxl:EqualityOp Mdid="0.91.1.0"/>
        <dxl:InequalityOp Mdid="0.85.1.0"/>
        <dxl:LessThanOp Mdid="0.58.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.1694.1.0"/>
        <dxl:GreaterThanOp Mdid="0.59.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.1695.1.0"/>
        <dxl:ComparisonOp Mdid="0.1693.1.0"/>
        <dxl:ArrayType Mdid="0.1000.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.20.1.0" Name="Int8" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="8" PassByValue="true">
        <dxl:EqualityOp Mdid="0.410.1.0"/>
        <dxl:InequalityOp Mdid="0.411.1.0"/>
        <dxl:LessThanOp Mdid="0.412.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.414.1.0"/>
        <dxl:GreaterThanOp Mdid="0.413.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.415.1.0"/>
        <dxl:ComparisonOp Mdid="0.351.1.0"/>
        <dxl:ArrayType Mdid="0.1016.1.0"/>
        <dxl:MinAgg Mdid="0.2131.1.0"/>
        <dxl:MaxAgg Mdid="0.2115.1.0"/>
        <dxl:AvgAgg Mdid="0.2100.1.0"/>
        <dxl:SumAgg Mdid="0.2107.1.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.23.1.0" Name="int4" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.96.1.0"/>
        <dxl:InequalityOp Mdid="0.518.1.0"/>
        <dxl:LessThanOp Mdid="0.97.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.523.1.0"/>
        <dxl:GreaterThanOp Mdid="0.521.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.525.1.0"/>
        <dxl:ComparisonOp Mdid="0.351.1.0"/>
        <dxl:ArrayType Mdid="0.1007.1.0"/>
        <dxl:MinAgg Mdid="0.2132.1.0"/>
        <dxl:MaxAgg Mdid="0.2116.1.0"/>
        <dxl:AvgAgg Mdid="0.2101.1.0"/>
        <dxl:SumAgg Mdid="0.2108.1.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.26.1.0" Name="oid" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.607.1.0"/>
        <dxl:InequalityOp Mdid="0.608.1.0"/>
        <dxl:LessThanOp Mdid="0.609.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.611.1.0"/>
        <dxl:GreaterThanOp Mdid="0.610.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.612.1.0"/>
        <dxl:ComparisonOp Mdid="0.356.1.0"/>
        <dxl:ArrayType Mdid="0.1028.1.0"/>
        <dxl:MinAgg Mdid="0.2118.1.0"/>
        <dxl:MaxAgg Mdid="0.2134.1.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.27.1.0" Name="tid" IsRedistributable="true" IsHashable="false" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="6" PassByValue="false">
        <dxl:EqualityOp Mdid="0.387.1.0"/>
        <dxl:InequalityOp Mdid="0.402.1.0"/>
        <dxl:LessThanOp Mdid="0.2799.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.2801.1.0"/>
        <dxl:GreaterThanOp Mdid="0.2800.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.2802.1.0"/>
        <dxl:ComparisonOp Mdid="0.2794.1.0"/>
        <dxl:ArrayType Mdid="0.1010.1.0"/>
        <dxl:MinAgg Mdid="0.2798.1.0"/>
        <dxl:MaxAgg Mdid="0.2797.1.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.29.1.0" Name="cid" IsRedistributable="false" IsHashable="true" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.385.1.0"/>
        <dxl:InequalityOp Mdid="0.0.0.0"/>
        <dxl:LessThanOp Mdid="0.0.0.0"/>
        <dxl:LessThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:ComparisonOp Mdid="0.0.0.0"/>
        <dxl:ArrayType Mdid="0.1012.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.28.1.0" Name="xid" IsRedistributable="false" IsHashable="true" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.352.1.0"/>
        <dxl:InequalityOp Mdid="0.0.0.0"/>
        <dxl:LessThanOp Mdid="0.0.0.0"/>
        <dxl:LessThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:ComparisonOp Mdid="0.0.0.0"/>
        <dxl:ArrayType Mdid="0.1011.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.7" Name="tableoid" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.6" Name="cmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.8" Name="gp_segment_id" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.1" Name="b" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="false">
        <dxl:StatsBucket Frequency="0.009009" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="-2"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="-2"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="-1"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="-1"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.081081" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="0"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="0"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="1"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="1"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="2"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="2"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="3"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="3"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="4"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="4"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="5"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="5"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="6"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="6"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="7"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="7"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="8"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="8"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="9"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="9"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="10"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="10"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="11"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="11"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="12"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="12"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="13"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="13"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="14"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="14"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="15"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="15"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="16"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="16"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="17"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="17"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="18"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="18"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.045045" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="19"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="19"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.009009" DistinctValues="1.000000">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="20"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="20"/>
        </dxl:StatsBucket>
      </dxl:ColumnStatistics>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.0" Name="a" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="false">
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="-10"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="-6"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="-6"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="-2"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="-2"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="2"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="2"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="6"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="6"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="10"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="10"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="14"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="14"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="18"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="18"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="22"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="22"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="26"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="26"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="30"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="30"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="34"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="34"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="38"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="38"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="42"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="42"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="46"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="46"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="50"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="50"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="54"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="54"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="58"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="58"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="62"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="62"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="66"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="66"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="70"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="70"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="74"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="74"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="78"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="78"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="82"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="82"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="86"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="86"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="90"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="90"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="94"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="94"/>
          <dxl:UpperBound Closed="false" TypeMdid="0.23.1.0" Value="98"/>
        </dxl:StatsBucket>
        <dxl:StatsBucket Frequency="0.035714" DistinctValues="3.964286">
          <dxl:LowerBound Closed="true" TypeMdid="0.23.1.0" Value="98"/>
          <dxl:UpperBound Closed="true" TypeMdid="0.23.1.0" Value="100"/>
        </dxl:StatsBucket>
      </dxl:ColumnStatistics>
      <dxl:MDCast Mdid="3.23.1.0;23.1.0" Name="int4" BinaryCoercible="true" SourceTypeId="0.23.1.0" DestinationTypeId="0.23.1.0" CastFuncId="0.0.0.0"/>
      <dxl:RelationStatistics Mdid="2.1639448.1.1" Name="t1" Rows="111.000000" EmptyRelation="false"/>
      <dxl:Relation Mdid="6.1639448.1.1" Name="t1" IsTemporary="false" HasOids="false" StorageType="Heap" DistributionPolicy="Hash" DistributionColumns="0" Keys="8,2">
        <dxl:Columns>
          <dxl:Column Name="a" Attno="1" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="b" Attno="2" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="ctid" Attno="-1" Mdid="0.27.1.0" Nullable="false" ColWidth="6">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmin" Attno="-3" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmin" Attno="-4" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmax" Attno="-5" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmax" Attno="-6" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="tableoid" Attno="-7" Mdid="0.26.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="gp_segment_id" Attno="-8" Mdid="0.23.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
        </dxl:Columns>
        <dxl:IndexInfoList/>
        <dxl:Triggers/>
        <dxl:CheckConstraints/>
      </dxl:Relation>
      <dxl:GPDBScalarOp Mdid="0.97.1.0" Name="&lt;" ComparisonType="LT" ReturnsNullOnNullInput="true">
        <dxl:LeftType Mdid="0.23.1.0"/>
        <dxl:RightType Mdid="0.23.1.0"/>
        <dxl:ResultType Mdid="0.16.1.0"/>
        <dxl:OpFunc Mdid="0.66.1.0"/>
        <dxl:Commutator Mdid="0.521.1.0"/>
        <dxl:InverseOp Mdid="0.525.1.0"/>
        <dxl:Opfamilies>
          <dxl:Opfamily Mdid="0.1978.1.0"/>
          <dxl:Opfamily Mdid="0.3027.1.0"/>
        </dxl:Opfamilies>
      </dxl:GPDBScalarOp>
      <dxl:GPDBScalarOp Mdid="0.96.1.0" Name="=" ComparisonType="Eq" ReturnsNullOnNullInput="true">
        <dxl:LeftType Mdid="0.23.1.0"/>
        <dxl:RightType Mdid="0.23.1.0"/>
        <dxl:ResultType Mdid="0.16.1.0"/>
        <dxl:OpFunc Mdid="0.65.1.0"/>
        <dxl:Commutator Mdid="0.96.1.0"/>
        <dxl:InverseOp Mdid="0.518.1.0"/>
        <dxl:Opfamilies>
          <dxl:Opfamily Mdid="0.1978.1.0"/>
          <dxl:Opfamily Mdid="0.1979.1.0"/>
          <dxl:Opfamily Mdid="0.3027.1.0"/>
        </dxl:Opfamilies>
      </dxl:GPDBScalarOp>
      <dxl:GPDBAgg Mdid="0.2147.1.0" Name="count" IsSplittable="true" HashAggCapable="true">
        <dxl:ResultType Mdid="0.20.1.0"/>
        <dxl:IntermediateResultType Mdid="0.20.1.0"/>
      </dxl:GPDBAgg>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.3" Name="xmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
      <dxl:ColumnStatistics Mdid="1.1639448.1.1.2" Name="ctid" Width="6.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000" ColStatsMissing="true"/>
    </dxl:Metadata>
    <dxl:Query>
      <dxl:OutputColumns>
        <dxl:Ident ColId="1" ColName="a" TypeMdid="0.23.1.0"/>
        <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
        <dxl:Ident ColId="11" ColName="count" TypeMdid="0.20.1.0"/>
      </dxl:OutputColumns>
      <dxl:CTEList/>
      <dxl:Union InputColumns="1,10,11;13,21,22" CastAcrossInputs="false">
        <dxl:Columns>
          <dxl:Column ColId="1" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
          <dxl:Column ColId="10" Attno="2" ColName="count" TypeMdid="0.20.1.0"/>
          <dxl:Column ColId="11" Attno="3" ColName="count" TypeMdid="0.20.1.0"/>
        </dxl:Columns>
        <dxl:LogicalGroupBy>
          <dxl:GroupingColumns>
            <dxl:GroupingColumn ColId="1"/>
          </dxl:GroupingColumns>
          <dxl:ProjList>
            <dxl:ProjElem ColId="10" Alias="count">
              <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="true" AggStage="Normal" AggKind="n" >
                <dxl:ValuesList ParamType="aggargs">
                <dxl:Ident ColId="1" ColName="a" TypeMdid="0.23.1.0"/>
                </dxl:ValuesList>
                <dxl:ValuesList ParamType="aggdirectargs"/>
                <dxl:ValuesList ParamType="aggorder"/>
                <dxl:ValuesList ParamType="aggdistinct"/>
              </dxl:AggFunc>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="11" Alias="count">
              <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="true" AggStage="Normal" AggKind="n" >
                <dxl:ValuesList ParamType="aggargs">
                <dxl:Ident ColId="2" ColName="b" TypeMdid="0.23.1.0"/>
                </dxl:ValuesList>
                <dxl:ValuesList ParamType="aggdirectargs"/>
                <dxl:ValuesList ParamType="aggorder"/>
                <dxl:ValuesList ParamType="aggdistinct"/>
              </dxl:AggFunc>
            </dxl:ProjElem>
          </dxl:ProjList>
          <dxl:LogicalGet>
            <dxl:TableDescriptor Mdid="6.1639448.1.1" TableName="t1">
              <dxl:Columns>
                <dxl:Column ColId="1" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="2" Attno="2" ColName="b" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="3" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                <dxl:Column ColId="4" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="5" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="6" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="7" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="8" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                <dxl:Column ColId="9" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
              </dxl:Columns>
            </dxl:TableDescriptor>
          </dxl:LogicalGet>
        </dxl:LogicalGroupBy>
        <dxl:LogicalGroupBy>
          <dxl:GroupingColumns>
            <dxl:GroupingColumn ColId="13"/>
          </dxl:GroupingColumns>
          <dxl:ProjList>
            <dxl:ProjElem ColId="21" Alias="count">
              <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="true" AggStage="Normal" AggKind="n" >
                <dxl:ValuesList ParamType="aggargs">
                <dxl:Ident ColId="12" ColName="a" TypeMdid="0.23.1.0"/>
                </dxl:ValuesList>
                <dxl:ValuesList ParamType="aggdirectargs"/>
                <dxl:ValuesList ParamType="aggorder"/>
                <dxl:ValuesList ParamType="aggdistinct"/>
              </dxl:AggFunc>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="22" Alias="count">
              <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="true" AggStage="Normal" AggKind="n" >
                <dxl:ValuesList ParamType="aggargs">
                <dxl:Ident ColId="13" ColName="b" TypeMdid="0.23.1.0"/>
                </dxl:ValuesList>
                <dxl:ValuesList ParamType="aggdirectargs"/>
                <dxl:ValuesList ParamType="aggorder"/>
                <dxl:ValuesList ParamType="aggdistinct"/>
              </dxl:AggFunc>
            </dxl:ProjElem>
          </dxl:ProjList>
          <dxl:LogicalGet>
            <dxl:TableDescriptor Mdid="6.1639448.1.1" TableName="t1">
              <dxl:Columns>
                <dxl:Column ColId="12" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="13" Attno="2" ColName="b" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="14" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                <dxl:Column ColId="15" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="16" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="17" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="18" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="19" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                <dxl:Column ColId="20" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
              </dxl:Columns>
            </dxl:TableDescriptor>
          </dxl:LogicalGet>
        </dxl:LogicalGroupBy>
      </dxl:Union>
    </dxl:Query>
    <dxl:Plan Id="0" SpaceSize="426240000">
      <dxl:GatherMotion InputSegments="0,1" OutputSegments="-1">
        <dxl:Properties>
          <dxl:Cost StartupCost="0" TotalCost="2586.144662" Rows="134.000000" Width="20"/>
        </dxl:Properties>
        <dxl:ProjList>
          <dxl:ProjElem ColId="0" Alias="a">
            <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
          </dxl:ProjElem>
          <dxl:ProjElem ColId="9" Alias="count">
            <dxl:Ident ColId="9" ColName="count" TypeMdid="0.20.1.0"/>
          </dxl:ProjElem>
          <dxl:ProjElem ColId="10" Alias="count">
            <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
          </dxl:ProjElem>
        </dxl:ProjList>
        <dxl:Filter/>
        <dxl:SortingColumnList/>
        <dxl:Aggregate AggregationStrategy="Hashed" StreamSafe="false">
          <dxl:Properties>
            <dxl:Cost StartupCost="0" TotalCost="2586.132629" Rows="134.000000" Width="20"/>
          </dxl:Properties>
          <dxl:GroupingColumns>
            <dxl:GroupingColumn ColId="0"/>
            <dxl:GroupingColumn ColId="9"/>
            <dxl:GroupingColumn ColId="10"/>
          </dxl:GroupingColumns>
          <dxl:ProjList>
            <dxl:ProjElem ColId="0" Alias="a">
              <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="9" Alias="count">
              <dxl:Ident ColId="9" ColName="count" TypeMdid="0.20.1.0"/>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="10" Alias="count">
              <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
            </dxl:ProjElem>
          </dxl:ProjList>
          <dxl:Filter/>
          <dxl:Append IsTarget="false" IsZapped="false">
            <dxl:Properties>
              <dxl:Cost StartupCost="0" TotalCost="2586.107307" Rows="134.000000" Width="20"/>
            </dxl:Properties>
            <dxl:ProjList>
              <dxl:ProjElem ColId="0" Alias="a">
                <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="9" Alias="count">
                <dxl:Ident ColId="9" ColName="count" TypeMdid="0.20.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="10" Alias="count">
                <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
              </dxl:ProjElem>
            </dxl:ProjList>
            <dxl:Filter/>
            <dxl:Sequence>
              <dxl:Properties>
                <dxl:Cost StartupCost="0" TotalCost="1293.066792" Rows="111.000000" Width="20"/>
              </dxl:Properties>
              <dxl:ProjList>
                <dxl:ProjElem ColId="0" Alias="a">
                  <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="9" Alias="count">
                  <dxl:Ident ColId="9" ColName="count" TypeMdid="0.20.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="10" Alias="count">
                  <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
                </dxl:ProjElem>
              </dxl:ProjList>
              <dxl:CTEProducer CTEId="1" Columns="42,43,44,45,46,47,48,49,50">
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="431.005138" Rows="111.000000" Width="1"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="42" Alias="a">
                    <dxl:Ident ColId="42" ColName="a" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="43" Alias="b">
                    <dxl:Ident ColId="43" ColName="b" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="44" Alias="ctid">
                    <dxl:Ident ColId="44" ColName="ctid" TypeMdid="0.27.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="45" Alias="xmin">
                    <dxl:Ident ColId="45" ColName="xmin" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="46" Alias="cmin">
                    <dxl:Ident ColId="46" ColName="cmin" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="47" Alias="xmax">
                    <dxl:Ident ColId="47" ColName="xmax" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="48" Alias="cmax">
                    <dxl:Ident ColId="48" ColName="cmax" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="49" Alias="tableoid">
                    <dxl:Ident ColId="49" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="50" Alias="gp_segment_id">
                    <dxl:Ident ColId="50" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:TableScan>
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.001160" Rows="111.000000" Width="38"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="42" Alias="a">
                      <dxl:Ident ColId="42" ColName="a" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="43" Alias="b">
                      <dxl:Ident ColId="43" ColName="b" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="44" Alias="ctid">
                      <dxl:Ident ColId="44" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="45" Alias="xmin">
                      <dxl:Ident ColId="45" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="46" Alias="cmin">
                      <dxl:Ident ColId="46" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="47" Alias="xmax">
                      <dxl:Ident ColId="47" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="48" Alias="cmax">
                      <dxl:Ident ColId="48" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="49" Alias="tableoid">
                      <dxl:Ident ColId="49" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="50" Alias="gp_segment_id">
                      <dxl:Ident ColId="50" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:TableDescriptor Mdid="6.1639448.1.1" TableName="t1">
                    <dxl:Columns>
                      <dxl:Column ColId="42" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="43" Attno="2" ColName="b" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="44" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                      <dxl:Column ColId="45" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="46" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="47" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="48" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="49" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                      <dxl:Column ColId="50" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:Columns>
                  </dxl:TableDescriptor>
                </dxl:TableScan>
              </dxl:CTEProducer>
              <dxl:HashJoin JoinType="Inner">
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="862.060544" Rows="111.000000" Width="20"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="0" Alias="a">
                    <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="9" Alias="count">
                    <dxl:Ident ColId="9" ColName="count" TypeMdid="0.20.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="10" Alias="count">
                    <dxl:Ident ColId="10" ColName="count" TypeMdid="0.20.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:Filter/>
                <dxl:JoinFilter/>
                <dxl:HashCondList>
                  <dxl:Not>
                    <dxl:IsDistinctFrom OperatorMdid="0.96.1.0">
                      <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                      <dxl:Ident ColId="51" ColName="a" TypeMdid="0.23.1.0"/>
                    </dxl:IsDistinctFrom>
                  </dxl:Not>
                </dxl:HashCondList>
                <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.008771" Rows="111.000000" Width="12"/>
                  </dxl:Properties>
                  <dxl:GroupingColumns>
                    <dxl:GroupingColumn ColId="0"/>
                  </dxl:GroupingColumns>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="9" Alias="count">
                      <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="false" AggStage="Normal" AggKind="n" AggArgTypes="">
                        <dxl:ValuesList ParamType="aggargs">
                          <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                        </dxl:ValuesList>
                        <dxl:ValuesList ParamType="aggdirectargs"/>
                        <dxl:ValuesList ParamType="aggorder"/>
                        <dxl:ValuesList ParamType="aggdistinct"/>
                      </dxl:AggFunc>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="0" Alias="a">
                      <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.008175" Rows="111.000000" Width="4"/>
                    </dxl:Properties>
                    <dxl:GroupingColumns>
                      <dxl:GroupingColumn ColId="0"/>
                    </dxl:GroupingColumns>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="0" Alias="a">
                        <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                    <dxl:Filter/>
                    <dxl:Sort SortDiscardDuplicates="false">
                      <dxl:Properties>
                        <dxl:Cost StartupCost="0" TotalCost="431.007829" Rows="111.000000" Width="4"/>
                      </dxl:Properties>
                      <dxl:ProjList>
                        <dxl:ProjElem ColId="0" Alias="a">
                          <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="1" Alias="b">
                          <dxl:Ident ColId="1" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="2" Alias="ctid">
                          <dxl:Ident ColId="2" ColName="ctid" TypeMdid="0.27.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="3" Alias="xmin">
                          <dxl:Ident ColId="3" ColName="xmin" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="4" Alias="cmin">
                          <dxl:Ident ColId="4" ColName="cmin" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="5" Alias="xmax">
                          <dxl:Ident ColId="5" ColName="xmax" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="6" Alias="cmax">
                          <dxl:Ident ColId="6" ColName="cmax" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="7" Alias="tableoid">
                          <dxl:Ident ColId="7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="8" Alias="gp_segment_id">
                          <dxl:Ident ColId="8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                      </dxl:ProjList>
                      <dxl:Filter/>
                      <dxl:SortingColumnList>
                        <dxl:SortingColumn ColId="0" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                      </dxl:SortingColumnList>
                      <dxl:LimitCount/>
                      <dxl:LimitOffset/>
                      <dxl:CTEConsumer CTEId="1" Columns="0,1,2,3,4,5,6,7,8">
                        <dxl:Properties>
                          <dxl:Cost StartupCost="0" TotalCost="431.000535" Rows="111.000000" Width="4"/>
                        </dxl:Properties>
                        <dxl:ProjList>
                          <dxl:ProjElem ColId="0" Alias="a">
                            <dxl:Ident ColId="0" ColName="a" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="1" Alias="b">
                            <dxl:Ident ColId="1" ColName="b" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="2" Alias="ctid">
                            <dxl:Ident ColId="2" ColName="ctid" TypeMdid="0.27.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="3" Alias="xmin">
                            <dxl:Ident ColId="3" ColName="xmin" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="4" Alias="cmin">
                            <dxl:Ident ColId="4" ColName="cmin" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="5" Alias="xmax">
                            <dxl:Ident ColId="5" ColName="xmax" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="6" Alias="cmax">
                            <dxl:Ident ColId="6" ColName="cmax" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="7" Alias="tableoid">
                            <dxl:Ident ColId="7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="8" Alias="gp_segment_id">
                            <dxl:Ident ColId="8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                        </dxl:ProjList>
                      </dxl:CTEConsumer>
                    </dxl:Sort>
                  </dxl:Aggregate>
                </dxl:Aggregate>
                <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.017168" Rows="111.000000" Width="12"/>
                  </dxl:Properties>
                  <dxl:GroupingColumns>
                    <dxl:GroupingColumn ColId="51"/>
                  </dxl:GroupingColumns>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="10" Alias="count">
                      <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="false" AggStage="Normal" AggKind="n" AggArgTypes="">
                        <dxl:ValuesList ParamType="aggargs">
                          <dxl:Ident ColId="52" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ValuesList>
                        <dxl:ValuesList ParamType="aggdirectargs"/>
                        <dxl:ValuesList ParamType="aggorder"/>
                        <dxl:ValuesList ParamType="aggdistinct"/>
                      </dxl:AggFunc>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="51" Alias="a">
                      <dxl:Ident ColId="51" ColName="a" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.016350" Rows="111.000000" Width="8"/>
                    </dxl:Properties>
                    <dxl:GroupingColumns>
                      <dxl:GroupingColumn ColId="51"/>
                      <dxl:GroupingColumn ColId="52"/>
                    </dxl:GroupingColumns>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="51" Alias="a">
                        <dxl:Ident ColId="51" ColName="a" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="52" Alias="b">
                        <dxl:Ident ColId="52" ColName="b" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                    <dxl:Filter/>
                    <dxl:Sort SortDiscardDuplicates="false">
                      <dxl:Properties>
                        <dxl:Cost StartupCost="0" TotalCost="431.015657" Rows="111.000000" Width="8"/>
                      </dxl:Properties>
                      <dxl:ProjList>
                        <dxl:ProjElem ColId="51" Alias="a">
                          <dxl:Ident ColId="51" ColName="a" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="52" Alias="b">
                          <dxl:Ident ColId="52" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="53" Alias="ctid">
                          <dxl:Ident ColId="53" ColName="ctid" TypeMdid="0.27.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="54" Alias="xmin">
                          <dxl:Ident ColId="54" ColName="xmin" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="55" Alias="cmin">
                          <dxl:Ident ColId="55" ColName="cmin" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="56" Alias="xmax">
                          <dxl:Ident ColId="56" ColName="xmax" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="57" Alias="cmax">
                          <dxl:Ident ColId="57" ColName="cmax" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="58" Alias="tableoid">
                          <dxl:Ident ColId="58" ColName="tableoid" TypeMdid="0.26.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="59" Alias="gp_segment_id">
                          <dxl:Ident ColId="59" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                      </dxl:ProjList>
                      <dxl:Filter/>
                      <dxl:SortingColumnList>
                        <dxl:SortingColumn ColId="51" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                        <dxl:SortingColumn ColId="52" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                      </dxl:SortingColumnList>
                      <dxl:LimitCount/>
                      <dxl:LimitOffset/>
                      <dxl:CTEConsumer CTEId="1" Columns="51,52,53,54,55,56,57,58,59">
                        <dxl:Properties>
                          <dxl:Cost StartupCost="0" TotalCost="431.001070" Rows="111.000000" Width="8"/>
                        </dxl:Properties>
                        <dxl:ProjList>
                          <dxl:ProjElem ColId="51" Alias="a">
                            <dxl:Ident ColId="51" ColName="a" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="52" Alias="b">
                            <dxl:Ident ColId="52" ColName="b" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="53" Alias="ctid">
                            <dxl:Ident ColId="53" ColName="ctid" TypeMdid="0.27.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="54" Alias="xmin">
                            <dxl:Ident ColId="54" ColName="xmin" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="55" Alias="cmin">
                            <dxl:Ident ColId="55" ColName="cmin" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="56" Alias="xmax">
                            <dxl:Ident ColId="56" ColName="xmax" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="57" Alias="cmax">
                            <dxl:Ident ColId="57" ColName="cmax" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="58" Alias="tableoid">
                            <dxl:Ident ColId="58" ColName="tableoid" TypeMdid="0.26.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="59" Alias="gp_segment_id">
                            <dxl:Ident ColId="59" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                        </dxl:ProjList>
                      </dxl:CTEConsumer>
                    </dxl:Sort>
                  </dxl:Aggregate>
                </dxl:Aggregate>
              </dxl:HashJoin>
            </dxl:Sequence>
            <dxl:Sequence>
              <dxl:Properties>
                <dxl:Cost StartupCost="0" TotalCost="1293.039175" Rows="23.000000" Width="20"/>
              </dxl:Properties>
              <dxl:ProjList>
                <dxl:ProjElem ColId="12" Alias="b">
                  <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="20" Alias="count">
                  <dxl:Ident ColId="20" ColName="count" TypeMdid="0.20.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="21" Alias="count">
                  <dxl:Ident ColId="21" ColName="count" TypeMdid="0.20.1.0"/>
                </dxl:ProjElem>
              </dxl:ProjList>
              <dxl:CTEProducer CTEId="0" Columns="22,23,24,25,26,27,28,29,30">
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="431.005138" Rows="111.000000" Width="1"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="22" Alias="a">
                    <dxl:Ident ColId="22" ColName="a" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="23" Alias="b">
                    <dxl:Ident ColId="23" ColName="b" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="24" Alias="ctid">
                    <dxl:Ident ColId="24" ColName="ctid" TypeMdid="0.27.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="25" Alias="xmin">
                    <dxl:Ident ColId="25" ColName="xmin" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="26" Alias="cmin">
                    <dxl:Ident ColId="26" ColName="cmin" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="27" Alias="xmax">
                    <dxl:Ident ColId="27" ColName="xmax" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="28" Alias="cmax">
                    <dxl:Ident ColId="28" ColName="cmax" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="29" Alias="tableoid">
                    <dxl:Ident ColId="29" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="30" Alias="gp_segment_id">
                    <dxl:Ident ColId="30" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:TableScan>
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.001160" Rows="111.000000" Width="38"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="22" Alias="a">
                      <dxl:Ident ColId="22" ColName="a" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="23" Alias="b">
                      <dxl:Ident ColId="23" ColName="b" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="24" Alias="ctid">
                      <dxl:Ident ColId="24" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="25" Alias="xmin">
                      <dxl:Ident ColId="25" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="26" Alias="cmin">
                      <dxl:Ident ColId="26" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="27" Alias="xmax">
                      <dxl:Ident ColId="27" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="28" Alias="cmax">
                      <dxl:Ident ColId="28" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="29" Alias="tableoid">
                      <dxl:Ident ColId="29" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="30" Alias="gp_segment_id">
                      <dxl:Ident ColId="30" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:TableDescriptor Mdid="6.1639448.1.1" TableName="t1">
                    <dxl:Columns>
                      <dxl:Column ColId="22" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="23" Attno="2" ColName="b" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="24" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                      <dxl:Column ColId="25" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="26" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="27" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="28" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="29" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                      <dxl:Column ColId="30" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:Columns>
                  </dxl:TableDescriptor>
                </dxl:TableScan>
              </dxl:CTEProducer>
              <dxl:HashJoin JoinType="Inner">
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="862.033807" Rows="23.000000" Width="20"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="12" Alias="b">
                    <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="20" Alias="count">
                    <dxl:Ident ColId="20" ColName="count" TypeMdid="0.20.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="21" Alias="count">
                    <dxl:Ident ColId="21" ColName="count" TypeMdid="0.20.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:Filter/>
                <dxl:JoinFilter/>
                <dxl:HashCondList>
                  <dxl:Not>
                    <dxl:IsDistinctFrom OperatorMdid="0.96.1.0">
                      <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                      <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                    </dxl:IsDistinctFrom>
                  </dxl:Not>
                </dxl:HashCondList>
                <dxl:Aggregate AggregationStrategy="Hashed" StreamSafe="false">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.018084" Rows="23.000000" Width="12"/>
                  </dxl:Properties>
                  <dxl:GroupingColumns>
                    <dxl:GroupingColumn ColId="12"/>
                  </dxl:GroupingColumns>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="20" Alias="count">
                      <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="false" AggStage="Final" AggKind="n" AggArgTypes="">
                        <dxl:ValuesList ParamType="aggargs">
                          <dxl:Ident ColId="41" ColName="ColRef_0041" TypeMdid="0.20.1.0"/>
                        </dxl:ValuesList>
                        <dxl:ValuesList ParamType="aggdirectargs"/>
                        <dxl:ValuesList ParamType="aggorder"/>
                        <dxl:ValuesList ParamType="aggdistinct"/>
                      </dxl:AggFunc>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="12" Alias="b">
                      <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:RedistributeMotion InputSegments="0,1" OutputSegments="0,1">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.016611" Rows="23.000000" Width="12"/>
                    </dxl:Properties>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="12" Alias="b">
                        <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="41" Alias="ColRef_0041">
                        <dxl:Ident ColId="41" ColName="ColRef_0041" TypeMdid="0.20.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                    <dxl:Filter/>
                    <dxl:SortingColumnList/>
                    <dxl:HashExprList>
                      <dxl:HashExpr>
                        <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                      </dxl:HashExpr>
                    </dxl:HashExprList>
                    <dxl:Result>
                      <dxl:Properties>
                        <dxl:Cost StartupCost="0" TotalCost="431.016179" Rows="23.000000" Width="12"/>
                      </dxl:Properties>
                      <dxl:ProjList>
                        <dxl:ProjElem ColId="12" Alias="b">
                          <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="41" Alias="ColRef_0041">
                          <dxl:Ident ColId="41" ColName="ColRef_0041" TypeMdid="0.20.1.0"/>
                        </dxl:ProjElem>
                      </dxl:ProjList>
                      <dxl:Filter/>
                      <dxl:OneTimeFilter/>
                      <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                        <dxl:Properties>
                          <dxl:Cost StartupCost="0" TotalCost="431.016179" Rows="23.000000" Width="12"/>
                        </dxl:Properties>
                        <dxl:GroupingColumns>
                          <dxl:GroupingColumn ColId="12"/>
                        </dxl:GroupingColumns>
                        <dxl:ProjList>
                          <dxl:ProjElem ColId="41" Alias="ColRef_0041">
                            <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="true" AggStage="Partial" AggKind="n" AggArgTypes="">
                              <dxl:ValuesList ParamType="aggargs">
                                <dxl:Ident ColId="11" ColName="a" TypeMdid="0.23.1.0"/>
                              </dxl:ValuesList>
                              <dxl:ValuesList ParamType="aggdirectargs"/>
                              <dxl:ValuesList ParamType="aggorder"/>
                              <dxl:ValuesList ParamType="aggdistinct"/>
                            </dxl:AggFunc>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="12" Alias="b">
                            <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                        </dxl:ProjList>
                        <dxl:Filter/>
                        <dxl:Sort SortDiscardDuplicates="false">
                          <dxl:Properties>
                            <dxl:Cost StartupCost="0" TotalCost="431.015657" Rows="111.000000" Width="8"/>
                          </dxl:Properties>
                          <dxl:ProjList>
                            <dxl:ProjElem ColId="11" Alias="a">
                              <dxl:Ident ColId="11" ColName="a" TypeMdid="0.23.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="12" Alias="b">
                              <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="13" Alias="ctid">
                              <dxl:Ident ColId="13" ColName="ctid" TypeMdid="0.27.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="14" Alias="xmin">
                              <dxl:Ident ColId="14" ColName="xmin" TypeMdid="0.28.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="15" Alias="cmin">
                              <dxl:Ident ColId="15" ColName="cmin" TypeMdid="0.29.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="16" Alias="xmax">
                              <dxl:Ident ColId="16" ColName="xmax" TypeMdid="0.28.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="17" Alias="cmax">
                              <dxl:Ident ColId="17" ColName="cmax" TypeMdid="0.29.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="18" Alias="tableoid">
                              <dxl:Ident ColId="18" ColName="tableoid" TypeMdid="0.26.1.0"/>
                            </dxl:ProjElem>
                            <dxl:ProjElem ColId="19" Alias="gp_segment_id">
                              <dxl:Ident ColId="19" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                            </dxl:ProjElem>
                          </dxl:ProjList>
                          <dxl:Filter/>
                          <dxl:SortingColumnList>
                            <dxl:SortingColumn ColId="12" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                            <dxl:SortingColumn ColId="11" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                          </dxl:SortingColumnList>
                          <dxl:LimitCount/>
                          <dxl:LimitOffset/>
                          <dxl:CTEConsumer CTEId="0" Columns="11,12,13,14,15,16,17,18,19">
                            <dxl:Properties>
                              <dxl:Cost StartupCost="0" TotalCost="431.001070" Rows="111.000000" Width="8"/>
                            </dxl:Properties>
                            <dxl:ProjList>
                              <dxl:ProjElem ColId="11" Alias="a">
                                <dxl:Ident ColId="11" ColName="a" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="12" Alias="b">
                                <dxl:Ident ColId="12" ColName="b" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="13" Alias="ctid">
                                <dxl:Ident ColId="13" ColName="ctid" TypeMdid="0.27.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="14" Alias="xmin">
                                <dxl:Ident ColId="14" ColName="xmin" TypeMdid="0.28.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="15" Alias="cmin">
                                <dxl:Ident ColId="15" ColName="cmin" TypeMdid="0.29.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="16" Alias="xmax">
                                <dxl:Ident ColId="16" ColName="xmax" TypeMdid="0.28.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="17" Alias="cmax">
                                <dxl:Ident ColId="17" ColName="cmax" TypeMdid="0.29.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="18" Alias="tableoid">
                                <dxl:Ident ColId="18" ColName="tableoid" TypeMdid="0.26.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="19" Alias="gp_segment_id">
                                <dxl:Ident ColId="19" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                            </dxl:ProjList>
                          </dxl:CTEConsumer>
                        </dxl:Sort>
                      </dxl:Aggregate>
                    </dxl:Result>
                  </dxl:RedistributeMotion>
                </dxl:Aggregate>
                <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.008553" Rows="23.000000" Width="12"/>
                  </dxl:Properties>
                  <dxl:GroupingColumns>
                    <dxl:GroupingColumn ColId="32"/>
                  </dxl:GroupingColumns>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="21" Alias="count">
                      <dxl:AggFunc AggMdid="0.2147.1.0" AggDistinct="false" AggStage="Normal" AggKind="n" AggArgTypes="">
                        <dxl:ValuesList ParamType="aggargs">
                          <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ValuesList>
                        <dxl:ValuesList ParamType="aggdirectargs"/>
                        <dxl:ValuesList ParamType="aggorder"/>
                        <dxl:ValuesList ParamType="aggdistinct"/>
                      </dxl:AggFunc>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="32" Alias="b">
                      <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.008430" Rows="23.000000" Width="4"/>
                    </dxl:Properties>
                    <dxl:GroupingColumns>
                      <dxl:GroupingColumn ColId="32"/>
                    </dxl:GroupingColumns>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="32" Alias="b">
                        <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                    <dxl:Filter/>
                    <dxl:Sort SortDiscardDuplicates="false">
                      <dxl:Properties>
                        <dxl:Cost StartupCost="0" TotalCost="431.008358" Rows="23.000000" Width="4"/>
                      </dxl:Properties>
                      <dxl:ProjList>
                        <dxl:ProjElem ColId="32" Alias="b">
                          <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                      </dxl:ProjList>
                      <dxl:Filter/>
                      <dxl:SortingColumnList>
                        <dxl:SortingColumn ColId="32" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                      </dxl:SortingColumnList>
                      <dxl:LimitCount/>
                      <dxl:LimitOffset/>
                      <dxl:RedistributeMotion InputSegments="0,1" OutputSegments="0,1">
                        <dxl:Properties>
                          <dxl:Cost StartupCost="0" TotalCost="431.007439" Rows="23.000000" Width="4"/>
                        </dxl:Properties>
                        <dxl:ProjList>
                          <dxl:ProjElem ColId="32" Alias="b">
                            <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                        </dxl:ProjList>
                        <dxl:Filter/>
                        <dxl:SortingColumnList/>
                        <dxl:HashExprList>
                          <dxl:HashExpr>
                            <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                          </dxl:HashExpr>
                        </dxl:HashExprList>
                        <dxl:Aggregate AggregationStrategy="Hashed" StreamSafe="true">
                          <dxl:Properties>
                            <dxl:Cost StartupCost="0" TotalCost="431.007295" Rows="23.000000" Width="4"/>
                          </dxl:Properties>
                          <dxl:GroupingColumns>
                            <dxl:GroupingColumn ColId="32"/>
                          </dxl:GroupingColumns>
                          <dxl:ProjList>
                            <dxl:ProjElem ColId="32" Alias="b">
                              <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                            </dxl:ProjElem>
                          </dxl:ProjList>
                          <dxl:Filter/>
                          <dxl:CTEConsumer CTEId="0" Columns="31,32,33,34,35,36,37,38,39">
                            <dxl:Properties>
                              <dxl:Cost StartupCost="0" TotalCost="431.000535" Rows="111.000000" Width="4"/>
                            </dxl:Properties>
                            <dxl:ProjList>
                              <dxl:ProjElem ColId="31" Alias="a">
                                <dxl:Ident ColId="31" ColName="a" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="32" Alias="b">
                                <dxl:Ident ColId="32" ColName="b" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="33" Alias="ctid">
                                <dxl:Ident ColId="33" ColName="ctid" TypeMdid="0.27.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="34" Alias="xmin">
                                <dxl:Ident ColId="34" ColName="xmin" TypeMdid="0.28.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="35" Alias="cmin">
                                <dxl:Ident ColId="35" ColName="cmin" TypeMdid="0.29.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="36" Alias="xmax">
                                <dxl:Ident ColId="36" ColName="xmax" TypeMdid="0.28.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="37" Alias="cmax">
                                <dxl:Ident ColId="37" ColName="cmax" TypeMdid="0.29.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="38" Alias="tableoid">
                                <dxl:Ident ColId="38" ColName="tableoid" TypeMdid="0.26.1.0"/>
                              </dxl:ProjElem>
                              <dxl:ProjElem ColId="39" Alias="gp_segment_id">
                                <dxl:Ident ColId="39" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                              </dxl:ProjElem>
                            </dxl:ProjList>
                          </dxl:CTEConsumer>
                        </dxl:Aggregate>
                      </dxl:RedistributeMotion>
                    </dxl:Sort>
                  </dxl:Aggregate>
                </dxl:Aggregate>
              </dxl:HashJoin>
            </dxl:Sequence>
          </dxl:Append>
        </dxl:Aggregate>
      </dxl:GatherMotion>
    </dxl:Plan>
  </dxl:Thread>
</dxl:DXLMessage>
